<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<div class="span-24">
<table border="0" cellspacing="0" cellpadding="0" id="ordertable">
	<caption>
	<h1>User Info</h1>
	</caption>
	<tr>
		<th class="span-1">ID</th>
		<th class="span-4">UserName</th>
		<th class="span-4">Email</th>
		<th class="span-5 last">Roles</th>
	</tr>
	<tr>
		<td>${user.id}</td>
		<td>${user.username}</td>
		<td>${user.email}</td>
		<td><c:forEach var="role" items="${user.roles}"
			varStatus="roleCounter">
			${role.name},
			</c:forEach></td>
	</tr>
</table>
</div>
